import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path:'/login',
    name:'login',
    component:() => import('../views/login/LoginView.vue')
  },
  {
    path:'/log',
    name:'log',
    component: () => import('../views/LogView.vue')
  },
  {
    path:'/utils',
    name:'utils',
    component: () => import('../views/UtilsView.vue')
  },
  {
    path:'/',
    redirect: 'login'
  }
]

const router = new VueRouter({
  routes
})

export default router
